package com.ruoyi.channel.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;
import java.math.BigDecimal;

/**
 * 表 mp_channel_wallet
 * 
 * @author ruoyi
 * @date 2019-05-08
 */
public class ChannelWallet extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 主键ID */
	private Long id;
	/** 渠道标识 */
	private Long channelId;
	/** 余额 */
	private BigDecimal accountBalance;
	/** 待结算金额 */
	private BigDecimal waitLiquidatedBalance;
	/* 最近一次查询时间 */
	private String latestCheckTime;

	public void setId(Long id) 
	{
		this.id = id;
	}

	public Long getId() 
	{
		return id;
	}
	public void setChannelId(Long channelId) 
	{
		this.channelId = channelId;
	}

	public Long getChannelId() 
	{
		return channelId;
	}

	public void setAccountBalance(BigDecimal accountBalance) 
	{
		this.accountBalance = accountBalance;
	}

	public BigDecimal getAccountBalance() 
	{
		return accountBalance;
	}

	public BigDecimal getWaitLiquidatedBalance() {
		return waitLiquidatedBalance;
	}

	public void setWaitLiquidatedBalance(BigDecimal waitLiquidatedBalance) {
		this.waitLiquidatedBalance = waitLiquidatedBalance;
	}

	public String getLatestCheckTime() {
		return latestCheckTime;
	}

	public void setLatestCheckTime(String latestCheckTime) {
		this.latestCheckTime = latestCheckTime;
	}

	@Override
	public String toString() {
		return "ChannelWallet{" +
				"id=" + id +
				", channelId=" + channelId +
				", accountBalance=" + accountBalance +
				", waitLiquidatedBalance=" + waitLiquidatedBalance +
				", latestCheckTime='" + latestCheckTime + '\'' +
				'}';
	}
}
